#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include "student.h"
#include "teacher.h"

QT_BEGIN_NAMESPACE
namespace Ui {
class Widget;
}
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

    void EmitSignal();

signals:
    void MySignal();
    void MySignal(QString);
    void ForwardedSignal();
    void MySignal1();
    void MySignal2();
public slots:
    void MySlots();
    void MySlots(QString);
    void MySlot1();
    void MySlot2();
    void MySlot3();
private slots:
    void on_pushButton_clicked();

private:
    Ui::Widget *ui;
    Teacher *tea;
    Student *stu;
};
#endif // WIDGET_H
